// 循环设置 padding margin font-size 的值
@for $i from 1 through 200 {
  .z-text-#{$i} {
    font-size: $i + px;
  }
  @each $offset, $classOffset in (padding, pd), (margin, ma) {
    .z-#{$classOffset}-#{$i} {
      #{$offset}: $i + px;
    }
    @each $position, $pos in (top, t), (right, r), (bottom, b), (left, l) {
      .z-#{$classOffset}-#{$pos}-#{$i} {
        #{$offset}-#{$position}: $i + px;
      }
    }
  }
}
